login_information=[]

def database(zhuce_zhanghao, zhuce_mima):
	a=open('zhanghaomima.txt',mode='a')
	a.write("%s|%s\n"%(zhuce_zhanghao,zhuce_mima))
	a.close()

def panduan(zhanghao,mima):
	with open("zhanghaomima.txt",'r') as b:
		for i in b:
			a=i.split("|")
			login_information.append(a)
	for item in login_information:
		if int(item[0]) == zhanghao and int(item[1]) == mima:
			return "ture"
